//
//
//  Created by longma on 2018/7/31.
//  Copyright © 2018年 XLH. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface MJHelper : NSObject

+ (instancetype)shared;

/// 禁用第三方键盘 默认false
@property (nonatomic, assign) BOOL disableThirdPartyKeyboard;

/// 导航栏样色(API_AVAILABLE(ios(13.0) iOS13以上写法)
@property (nonatomic, strong) UINavigationBarAppearance *navBarApp API_AVAILABLE(ios(13.0));

/// 禁用第三方键盘
+ (void)disableThirdPartyKeyboardWithUITextField:(UITextField *)textField;

/// 是否iphonex及以上(刘海屏)
+ (BOOL)isIPhoneX;

/// 底部安全距离
+ (CGFloat)safeAreaBottom;

/// 是否模拟器
+ (BOOL)isSimuLator;

/// 判断是否debug环境
+ (BOOL)isDebug;
@end
